package cn.zxy.mapper;

import cn.zxy.model.Course;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CourseMapper {

    @Select("select c.id,c.name from stu_cr sc,course c where sc.cid=c.id and sc.sid=#{id}")
    public List<Course> findBySid(Integer id);







}
